package com.hotel.customersystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.customersystem.pojo.CustomerCollection;

import java.util.List;

/**
 * (CustomerCollection)表服务接口
 *
 * @author makejava
 * @since 2022-09-30 16:06:40
 */
public interface CustomerCollectionService extends IService<CustomerCollection> {
    public Boolean redisSelectIsCollection(String userId,String hotelId);
    public Boolean redisInsertCollection(String userId,String hotelId);
    public Boolean redisRemoveCollection(String userId,String hotelId);
    List<CustomerCollection> getCollectList(Integer userId);
    Boolean deleteCollection(Integer collectionId);
    Boolean deleteListCollection(List<CustomerCollection> collectionList);
}

